package org.broadway.monitor;

import org.broadway.interfaces.ObservedResource;

public class ObservedBean implements ObservedResource {
	private String alias;
	private Object value;
	
	public void setId(Object id) {
		alias = (String) id;
	}
	public String getId(){
		return alias;
	}
	
	public Object getValue(){
		return value;
	}
	public void setValue(Object val){
		value = val;
	}
	
	public ObservedBean(String alias, Object val){
		setId(alias);
		setValue(val);
	}
}
